/**
 * Copyright ToFBA Ecommerce Logistics LTD. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 * No body can copy or modify any part of this source without the permission of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 *   _________    ___   ________  ______        _       
 *  |  _   _  | .'   `.|_   __  ||_   _ \      / \      
 *  |_/ | | \_|/  .-.  \ | |_ \_|  | |_) |    / _ \     
 *      | |    | |   | | |  _|     |  __'.   / ___ \    
 *     _| |_   \  `-'  /_| |_     _| |__) |_/ /   \ \_  
 *    |_____|   `.___.'|_____|   |_______/|____| |____|
 *                                                
 */
package com.lmexpress.orm.buylogic;

import java.io.Serializable;

/**
 * <物品信息>
 * 
 * @author Henry(fba02)
 * @version [版本号, Jul 18, 2019]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class SoldItem implements Serializable {
	private static final long serialVersionUID = 996149300286229844L;
	private String name;// :物品明细名字 (必填,String)
	private Double price;// :总价格,默认币种美元 (必填,不能为0,double)
	// 不同渠道对应的价格单位,本系统自动赋值.详细价格币种请咨询渠道销售业务
	private Integer soldQuantity;// :数量 (必填,integer)
	private Double weight;// : 总重量kg (必填,double)
	// 例如：2个book 一个book重0.1kg 价格0.2美元,那么传值weight:0.2 price:0.4
	private String sku;// :货号 (选填,string)
	private String storage;// :仓位 (选填,string)
	private String hsCode;// : 海关编号(选填,String)
	private String nativeName;// : 中文报关名称(选填,string)
	private String originCountryCode;// : 原产地 (选填,string)

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public Integer getSoldQuantity() {
		return soldQuantity;
	}

	public void setSoldQuantity(Integer soldQuantity) {
		this.soldQuantity = soldQuantity;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public String getStorage() {
		return storage;
	}

	public void setStorage(String storage) {
		this.storage = storage;
	}

	public String getHsCode() {
		return hsCode;
	}

	public void setHsCode(String hsCode) {
		this.hsCode = hsCode;
	}

	public String getNativeName() {
		return nativeName;
	}

	public void setNativeName(String nativeName) {
		this.nativeName = nativeName;
	}

	public String getOriginCountryCode() {
		return originCountryCode;
	}

	public void setOriginCountryCode(String originCountryCode) {
		this.originCountryCode = originCountryCode;
	}

	@Override
	public String toString() {
		return "SoldItem [name=" + name + ", price=" + price + ", soldQuantity=" + soldQuantity + ", weight=" + weight
				+ ", sku=" + sku + ", storage=" + storage + ", hsCode=" + hsCode + ", nativeName=" + nativeName
				+ ", originCountryCode=" + originCountryCode + "]";
	}
}